home *** CD-ROM | disk | FTP | other *** search
- Path: ws180223.kbu.switzerland.attgis.com!elaroche
- From: elaroche@smtpadc.switzerland.attgis.com (Eric Laroche)
- Newsgroups: comp.lang.c
- Subject: Re: Algorithm to convert from 24 bits to 8 bits
- Message-ID: <elaroche.217.0014B60D@smtpadc.switzerland.attgis.com>
- Date: 24 Jan 96 20:42:31 GMT
- References: <4dl1f4$mea@centre.univ-orleans.fr>
- Sender: news@ncrcha.switzerland.attgis.com
- Organization: AT&T Global Information Solutions
- X-Newsreader: Trumpet for Windows [Version 1.0 Rev A]
-
- In article <4dl1f4$mea@centre.univ-orleans.fr> phlatrem@cnrs-orleans.fr
- (Philippe LATREMOLIERE) writes:
-
- >Where can I find an algorithm which do the following :
- >take a 24 bits image (reg, green, blue array, each one of 8 bits) and return
- >an image with indexes on a palette of 256 colors (8 bits) ?
-
- You may want to have a look at the 'xv' source code (version 2.x, which is
- in public domain according to URL:
- http://www.cica.indiana.edu/cica/faq/image_convert/convert.xv.html).
-
- xv, written by John Bradley, can display and convert jpeg (24 bit), gif
- (8 bit) and many more graphic formats.
-
-
- Another platform-independent conversion package 'Independent JPEG Group's
- JPEG Library' is mentioned in URL:
- http://www.cis.ohio-state.edu/hypertext/faq/usenet/
- graphics/fileformats-faq/part2/faq-doc-11.html
-
- More references:
- http://www.cica.indiana.edu/graphics/image.formats.html
- http://www.cis.ohio-state.edu/hypertext/faq/usenet/
- graphics/fileformats-faq/top.html
-
- --Eric
-
- ----
- Eric Laroche -- elaroche@smtpadc.switzerland.attgis.com, laroche@access.ch
-